+Wed Jan 21 18:10:40 2004 Jonathan Blandford <jrb@gnome.org>
+
+ * gtk/gtkcolorbutton.c (gtk_color_button_set_color):redraw the
+ color button when an alpha is set.
+ (gtk_color_button_set_alpha): redraw the color button when an
+ alpha is set.
+
Wed Jan 21 23:27:14 2004 Matthias Clasen <maclas@gmx.de>
Fix #131869:
+Wed Jan 21 18:10:40 2004 Jonathan Blandford <jrb@gnome.org>
+
+ * gtk/gtkcolorbutton.c (gtk_color_button_set_color):redraw the
+ color button when an alpha is set.
+ (gtk_color_button_set_alpha): redraw the color button when an
+ alpha is set.
+
Wed Jan 21 23:27:14 2004 Matthias Clasen <maclas@gmx.de>
Fix #131869:
+Wed Jan 21 18:10:40 2004 Jonathan Blandford <jrb@gnome.org>
+
+ * gtk/gtkcolorbutton.c (gtk_color_button_set_color):redraw the
+ color button when an alpha is set.
+ (gtk_color_button_set_alpha): redraw the color button when an
+ alpha is set.
+
Wed Jan 21 23:27:14 2004 Matthias Clasen <maclas@gmx.de>
Fix #131869:
+Wed Jan 21 18:10:40 2004 Jonathan Blandford <jrb@gnome.org>
+
+ * gtk/gtkcolorbutton.c (gtk_color_button_set_color):redraw the
+ color button when an alpha is set.
+ (gtk_color_button_set_alpha): redraw the color button when an
+ alpha is set.
+
Wed Jan 21 23:27:14 2004 Matthias Clasen <maclas@gmx.de>
Fix #131869:
+Wed Jan 21 18:10:40 2004 Jonathan Blandford <jrb@gnome.org>
+
+ * gtk/gtkcolorbutton.c (gtk_color_button_set_color):redraw the
+ color button when an alpha is set.
+ (gtk_color_button_set_alpha): redraw the color button when an
+ alpha is set.
+
Wed Jan 21 23:27:14 2004 Matthias Clasen <maclas@gmx.de>
Fix #131869:
color_button->priv->color.green = color->green;
color_button->priv->color.blue = color->blue;
+ if (color_button->priv->pixbuf != NULL)
+ g_object_unref (color_button->priv->pixbuf);
+ color_button->priv->pixbuf = NULL;
+
+ gtk_widget_queue_draw (color_button->priv->drawing_area);
+
g_object_notify (G_OBJECT (color_button), "color");
}
g_return_if_fail (GTK_IS_COLOR_BUTTON (color_button));
color_button->priv->alpha = alpha;
-
+
+ if (color_button->priv->pixbuf != NULL)
+ g_object_unref (color_button->priv->pixbuf);
+ color_button->priv->pixbuf = NULL;
+
+ gtk_widget_queue_draw (color_button->priv->drawing_area);
+
g_object_notify (G_OBJECT (color_button), "alpha");
}